package cards;

import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.image.BufferedImage;

public class TengJia extends Armor {
	// IMPORTANT, card class doesn't rewrite paint(). it rewrite IMAGE
	public static BufferedImage image;

	public static void ImageInit(BufferedImage toBinit) {
		image = toBinit;
	}

	@Override
	public BufferedImage getImage() {
		return image;
	}

	public TengJia() {
		this(0, 0);
	}

	public TengJia(int c, int n) {
		super(
				"TengJia",
				c,
				n,
				"locked skill: immune to NanMan/WanJian/Attack. Fire damage will cause one more hp damage.");
		// TODO Auto-generated constructor stub
	}

	@Override
	public boolean instanceOf(String superClass) {
		if (super.instanceOf(superClass)) {
			return true;
		}
		if (superClass.equalsIgnoreCase("TengJia")) {
			return true;
		}
		return false;
	}
}
